public class Strings {
    private Strings(){
        test();
        test("a","b");
        test(new String[]{"aaa","bbb"});
        test("ccc");
    }

    private void test(String...strings){
        if (strings.length > 0) {
            for (String str : strings) {
                System.out.print(str + ", ");
            }
        } else {
            System.out.print("none");
        }
        System.out.println();
    }
    public static void main(String[] args) {
        new Strings();
    }
}
